<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="bnsGroupArticleList" checkbox="true" fitColumns="false" title="群组主题文章信息表" actionUrl="bnsGroupArticleController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人名称"  field="createName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人登录名称"  field="createBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人名称"  field="updateName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人登录名称"  field="updateBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新日期"  field="updateDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属部门"  field="sysOrgCode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属公司"  field="sysCompanyCode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属群组"  field="groupId"   query="true" queryMode="single" dictionary="bns_group,id,group_name" width="120"></t:dgCol>
   <t:dgCol title="主题名称"  field="title"   query="true" queryMode="single"  width="160"></t:dgCol> 
   <t:dgCol title="回复"  field="replyAccount"    queryMode="single"  width="70"></t:dgCol>
   <t:dgCol title="查看"  field="viewAccount"    queryMode="single"  width="70"></t:dgCol>
   <t:dgCol title="热度"  field="hotNum"   query="true" queryMode="group"  width="80"></t:dgCol>
   <t:dgCol title="推荐"  field="isRecommend"    queryMode="single" dictionary="ysno" width="60"></t:dgCol>
   <t:dgCol title="最新"  field="isNew"    queryMode="single" dictionary="ysno" width="60"></t:dgCol>
   <t:dgCol title="置顶"  field="isUp"    queryMode="single" dictionary="ysno" width="60"></t:dgCol>
   <t:dgCol title="关闭"  field="isClose"    queryMode="single" dictionary="ysno" width="60"></t:dgCol>
   <t:dgCol title="赞"  field="isZambia"    queryMode="single" dictionary="ysno" width="60"></t:dgCol>
   <t:dgCol title="发布状态"  field="publisherStatus"   query="true" queryMode="single" dictionary="pbs_sta" width="70"></t:dgCol>
   <t:dgCol title="文章评论"  field="articleType"    queryMode="single"  width="70"></t:dgCol>
   <t:dgCol title="发布人"  field="createUserid"  queryMode="single" dictionary="bns_users_info,user_id,user_name"  width="80"></t:dgCol>
   <t:dgCol title="发布时间"  field="createTime" formatter="yyyy-MM-dd hh:mm:ss"  query="true" queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="最后发表人"  field="lastPublishUserid"    queryMode="single" dictionary="bns_users_info,user_id,user_name"  width="80"></t:dgCol>
   <t:dgCol title="最后发表时间"  field="lastPublishTime" formatter="yyyy-MM-dd hh:mm:ss"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="120"></t:dgCol>
   <t:dgFunOpt title="评论" funname="showCommentWin(id,title)" />
   <t:dgFunOpt title="评分" funname="showReplyWin(id,title)" />
   <t:dgDelOpt title="删除" url="bnsGroupArticleController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="bnsGroupArticleController.do?goAdd" funname="add" width="800" height="600"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="bnsGroupArticleController.do?goUpdate" funname="update" width="800" height="600"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="bnsGroupArticleController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="bnsGroupArticleController.do?goUpdate" funname="detail" width="800" height="600"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/buss/group/bnsGroupArticleList.js?v=3"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#bnsGroupArticleListtb").find("input[name='createDate']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#bnsGroupArticleListtb").find("input[name='updateDate']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#bnsGroupArticleListtb").find("input[name='createTime_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#bnsGroupArticleListtb").find("input[name='createTime_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#bnsGroupArticleListtb").find("input[name='lastPublishTime']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
  
 </script>